//
//  settleQuery.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/8.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit
// MARK: - 交收查询
class settlequery: NSObject {
    // MARK: - 属性
    var CON : String?  = "---"    // 商品名称
    var COI : String?     = "---"  // 商品代码
    var DAI : String?   = "---"      // 交收申请编号
    var WHI : String?     = "---"   // 仓库编号
    var WHN : String?    = "---"     // 仓库名称
    var AQ : String?   = "---" // 交收件数
    var DQ : String?   = "---"  //交收数量
    var U : String?   = "---" // 单位
    var DD : String?   = "---" // 最晚提货日期
    var DS : String?   = "---"  // 状态
    var IN : String?    = "---" // 是否已选号
    var FDF : String?   = "---"  // 冻结交收手续费
    var FIF : String?  = "---"// 冻结保险费
    var FSF : String?  = "---"// 冻结仓储费
    var FTF : String?  = "---"// 冻结托管费
    var DF : String?  = "---"// 当日交收手续费
    var IF : String?  = "---"// 保险费
    var SF : String?  = "---"// 仓储费
    var TF : String?  = "---"// 托管费
    var CT : String?  = "---"// 创建时间
    var UT : String?  = "---"// 更新时间
    
    // MARK: - 自定义构造函数
    init(dict : [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
        COI = (dict["COI"] as? String)
        CON = (dict["CON"] as? String)
        DAI = (dict["DAI"] as? String)
        WHI = (dict["WHI"] as? String)
        WHN = (dict["WHN"] as? String)
        AQ = (dict["AQ"] as? String)
        DQ = (dict["DQ"] as? String)
        U = (dict["U"] as? String)
        DD = (dict["DD"] as? String)
        DS = (dict["DS"] as? String)
        IN = (dict["IN"] as? String)
        FDF = (dict["FDF"] as? String)
        
        FIF = (dict["FIF"] as? String)
        FSF = (dict["FSF"] as? String)
        FTF = (dict["FTF"] as? String)
        DF = (dict["DF"] as? String)
        IF = (dict["IF"] as? String)
        SF = (dict["SF"] as? String)
        TF = (dict["TF"] as? String)
        CT = (dict["CT"] as? String)
        UT = (dict["UT"] as? String)
        
    }
    // 重写
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
}
